/******************************************************************************
 *
 * @file       chatuserlist.h
 * @brief      好友列表的显示与加载
 *
 * @author     ario
 * @date       2024/08/08
 * @history
 *****************************************************************************/

#ifndef CHATUSERLIST_H
#define CHATUSERLIST_H

#include <QListWidget>
#include <QObject>
#include <QEvent>

class ChatUserList : public QListWidget
{
    Q_OBJECT
public:
    ChatUserList(QWidget *parent = nullptr);

protected:
    bool eventFilter(QObject *object, QEvent *event) override;

signals:
    void sig_loading_chat_user();

private:
    bool _load_pending;
};

#endif // CHATUSERLIST_H
